<?php $show_validate = true;
include THEMES_PATH . 'public/before_body2.phtml';
global $user;
?>
<link href="/statics/front/css/partner-center.css" rel="stylesheet">
</head>
<body onLoad="showLeftTime()">
<?php include THEMES_PATH . 'public/header2.phtml';?>
<div class="title user-center-banner">
  <div class="main-width pt1x"><?php echo L('users_center');?></div>
</div>
<div class="main-width clearfix user-container">
  <div class="row">
    <div class="col-lg-2 col-md-3 col-sm-4 user-center-nav">
      <ul class="align-center">
        <li<?php if($_SESSION['center_type'] == 102){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/center');?>"> <?php echo L('My_Business');?></a>
        </li>
        <li<?php if($_SESSION['center_type'] == 1){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/order_list');?>"><?php echo L('My_Order');?></a>
        </li>
        <li<?php if($_SESSION['center_type'] == 104){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/order_list/',array("is_gift_orders"=>1));?>"><?php echo L('My_Gift_Order');?></a>
        </li>
        <li<?php if($_SESSION['center_type'] == 13){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/customer');?>"><?php echo L('Manage_my_client');?></a>
        </li>
        <li<?php if($_SESSION['center_type'] == 101){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/request');?>"><?php echo L('Alteration_request');?></a>
        </li>
        <li<?php if($_SESSION['center_type'] == 7){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/info');?>"><?php echo L('Account_information');?></a>
        </li>
        <li class="mt1x mb1x" style="border-bottom:1px solid #e3e3e3;"><?php echo L('Feedbacks');?></li>
        <li class="pl1x pr1x align-left" style="font-size:12px;"><?php echo L('Feedbacks_tips');?></li>
        <li<?php if($_SESSION['center_type'] == 103){echo ' class="active"';}?>>
          <a href="<?php echo url('partner/feedback');?>"><?php echo L('Tell_you_think');?></a>
        </li>
      </ul>
    </div>
    <div class="col-lg-10 col-md-9 col-sm-8 user-center-content">
      <?php include $templatefile;?>
    </div>
  </div>
</div>
<?php
  if (MODULE_NAME.'/'.ACTION_NAME == 'User/user_measure') {
    include THEMES_PATH.'public/measure_guide.phtml';
  }
?>
<?php include THEMES_PATH . 'public/footer2.phtml';?>
<script src="/statics/front/js/scripts/user-center.js"></script>
<?php include THEMES_PATH . 'public/after_body.phtml';?>